package com.zidongxiangxi.rabbit.core.constant.enums;

/**
 * 消息类型枚举
 *
 * @author chenxudong
 * @date 2020-11-07
 */
public enum MessageTypeEnum {
	/**
	 * 即时消息
	 */
	IMMEDIATE(0, "即时消息"),
	/**
	 * 顺序消息
	 */
	SEQUENCE(1, "顺序消息");

	private final Integer value;
	private final String desc;

	MessageTypeEnum(Integer value, String desc) {
		this.value = value;
		this.desc = desc;
	}

	public Integer getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}
}
